/**
 * @filename:OccupyService Sep 19, 2024
 * @project Wonder Vue Admin Api  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd.
 * All right reserved.
 */
package com.wonder.app.service;
import com.wonder.app.domain.Occupy;
import com.wonder.app.request.OccupyRequest;
import com.wonder.common.common.AjaxResult;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**
 * @Description:TODO(库存占用服务层)
 * @version: 1.1.0
 * @author: Wonder
 *
 */
public interface OccupyService extends IService<Occupy> {


    /**
     * 验证库存占用信息
     *
     * @param occupy
     * @param type
     * @return 结果
     */
    public String validate(Occupy occupy,String type);


    /**
     * Description:库存占用分页返回
     * @param request//检索条件
     * @param page//分页参数
     * @return IPage<Occupy>   //分页记录
     */
    public IPage<Occupy> selectList(OccupyRequest request, Page<Occupy> page);


}
